<!DOCTYPE html>
<html>
 <head>
	<meta charset="utf-8">
  <title></title>  
  <meta name="Author" content="sunny">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <script language="javascript" src="jquery-1.10.1.js" ></script>
 </head>
 <body>
  <script type="text/javascript">
	//通过www.b.com域名访问本网页
    $(document).ready(function() {		
		$.getJSON('http://www.a.com/cookie/getcookie.php?callback=?',function(json) {
			//if(typeof(console) != 'undefined') {
				
				//console.log(json.ticket);//在控制台上查看打印信息
			//} else {
				alert(json.ticket);
			//}
			
		});
		
	});
  </script>
 </body>
</html>